import Vue from 'vue'
import App from './App.vue'
import router from "./router"
import store from "./store"

Vue.config.productionTip = false

import VantUI from "vant"
import "vant/lib/index.css"
import 'vant/lib/index.less'
import '@vant/touch-emulator'
import { AddressEdit } from 'vant';
Vue.use(AddressEdit);
Vue.use(VantUI)

import "../public/rem"
import "./assets/css/reset.css"
import "./assets/font/bootstrap-icons.css"
import "animate.css/animate.min.css"

// 全局组件
import Common from "./common"

for (let i in Common) {
  Vue.component(i, Common[i])
}

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
